Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPROVE] Add rooms property in user object, if the user has the permission, with rooms roles #12105

Merged
merged 5 commits into from
Nov 20, 2018

Conversation

MarcosSpessatto
Copy link
Member

Closes #12029
Closes #12056

@MarcosSpessatto MarcosSpessatto added this to the 0.70.0 milestone Sep 19, 2018
@MarcosSpessatto MarcosSpessatto self-assigned this Sep 19, 2018
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-12105 September 19, 2018 18:28 Inactive
@piotrkochan
Copy link
Contributor

nice!

@MarcosSpessatto MarcosSpessatto modified the milestones: 0.70.0, 0.71.0 Oct 10, 2018
@@ -123,8 +124,24 @@ RocketChat.API.v1.addRoute('users.info', { authRequired: true }, {
return RocketChat.API.v1.failure(`Failed to get the user data for the userId of "${ username }".`);
}

user = result[0];
if (RocketChat.authz.hasPermission(this.userId, 'view-other-user-channels')) {
user.rooms = RocketChat.models.Subscriptions.findByUserId(this.userId, {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will add a lot of data to the response.. can we include this field only when requested (like with a fields param) ?

@rodrigok rodrigok changed the title [IMPROVE] Add rooms property in user object, if the user has the permission, with your rooms roles [IMPROVE] Add rooms property in user object, if the user has the permission, with rooms roles Nov 20, 2018
@rodrigok rodrigok merged commit 8744bd3 into develop Nov 20, 2018
@rodrigok rodrigok deleted the rest-user-rooms branch November 20, 2018 22:59
@rodrigok rodrigok mentioned this pull request Nov 28, 2018
rodrigok added a commit that referenced this pull request Nov 28, 2018
* Bump version to 0.72.0-develop

* [FIX] Correct roomName value in Mail Messages (#12453)

* Fix: Developers not being able to debug root files in VSCode (#12440)

* Remove duplicated i18n fields

* Update npm dependencies (#12465)

* Remove i18n duplicated fields

* [FIX] `Disabled` word translation to Chinese (#12260)

* [FIX] `Disabled` word translation to Spanish (#12406)

* [IMPROVE] Limit the number of typing users shown (#12400)

* [FIX] EmojiPicker position on small screens (#12457)

* [FIX] stream room-changed (#12411)

* fix stream room-changed

* Fix new and removed rooms/subscriptions

* [FIX] Manage own integrations permissions check (#12397)

…ements on permissions

<!-- INSTRUCTION: Your Pull Request name should start with one of the following tags -->
<!-- [NEW] For new features -->
<!-- [FIX] For bug fixes -->
<!-- [BREAK] For pull requests including breaking changes -->

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->


<!-- INSTRUCTION: Link to a https://github.com/RocketChat/docs PR with added/updated documentation or an update to the missing/outdated documentation list, see https://rocket.chat/docs/contributing/documentation/  -->

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->

* LingoHub based on develop (#12470)

* LingoHub Update 🚀

Manual push by LingoHub User: Diego Sampaio.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* Update pt-BR.i18n.json

* [IMPROVE] German translations (#12471)

* Script for determining a diff between language files

* Correct and sort german language files

* Manually checked the lingo-hub additions
as per 3603b37

* Removed duplicate translation keys

* [FIX] Email sending with GDPR user data (#12487)

Related to #11914

* Fix ES translation (#12509)

* [BREAK] Update to Meteor to 1.8 (#12468)

* Update livechat widget to Meteor 1.8

* Replace synced-cron package

* Add break change regarding cordova app

* Removal of Meteor global variable (#12371)

* First wave of removal of Meteor global

* Second wave of removal of Meteor global

* Third wave of removal of Meteor global

* Fix tests

* Fix ESLint

* Removal of EJSON, Accounts, Email, HTTP, Random, ReactiveDict, ReactiveVar, SHA256 and WebApp global variables (#12377)

* First wave of removal of Meteor global

* Second wave of removal of Meteor global

* Third wave of removal of Meteor global

* Fix tests

* Remove global variable SHA256

* Remove global variable WebApp

* Remove global variable EJSON

* Remove global variable Email

* Remove global variable HTTP

* Remove global variable Random

* Remove global variable ReactiveDict

* Remove global variable ReactiveVar

* Remove global variable Accounts

* Fix ESLint

* Removal of Match, check, moment, Tracker and Mongo global variables (#12410)

* First wave of removal of Meteor global

* Second wave of removal of Meteor global

* Third wave of removal of Meteor global

* Fix tests

* Remove global variable SHA256

* Remove global variable WebApp

* Remove global variable EJSON

* Remove global variable Email

* Remove global variable HTTP

* Remove global variable Random

* Remove global variable ReactiveDict

* Remove global variable ReactiveVar

* Remove global variable Accounts

* Remove globals variables Match and check

* Remove global variable Mongo

* Remove global variable moment

* Remove global variable Tracker

* Fix ESLint

* Removal of Template, Blaze, BlazeLayout, FlowRouter, DDPRateLimiter, Session, UAParser, Promise, Reload and CryptoJS global variables (#12433)

* First wave of removal of Meteor global

* Second wave of removal of Meteor global

* Third wave of removal of Meteor global

* Fix tests

* Remove global variable SHA256

* Remove global variable WebApp

* Remove global variable EJSON

* Remove global variable Email

* Remove global variable HTTP

* Remove global variable Random

* Remove global variable ReactiveDict

* Remove global variable ReactiveVar

* Remove global variable Accounts

* Remove globals variables Match and check

* Remove global variable Mongo

* Remove global variable moment

* Remove global variable Tracker

* Remove global variable Blaze

* Remove global variables FlowRouter and BlazeLayout

* Add FlowRouter to eslint global in tests file

* Remove global variable DDPRateLimiter

* Remove global variable Session

* Remove global variable UAParser

* Remove global variable Promise

* Remove global variable Reload

* Remove global variable CryptoJS

* Remove global variable Template

* Fix ESLint

* Removal of TAPi18n and TAPi18next global variables (#12467)

* First wave of removal of Meteor global

* Second wave of removal of Meteor global

* Third wave of removal of Meteor global

* Fix tests

* Remove global variable SHA256

* Remove global variable WebApp

* Remove global variable EJSON

* Remove global variable Email

* Remove global variable HTTP

* Remove global variable Random

* Remove global variable ReactiveDict

* Remove global variable ReactiveVar

* Remove global variable Accounts

* Remove globals variables Match and check

* Remove global variable Mongo

* Remove global variable moment

* Remove global variable Tracker

* Remove global variable Blaze

* Remove global variables FlowRouter and BlazeLayout

* Add FlowRouter to eslint global in tests file

* Remove global variable DDPRateLimiter

* Remove global variable Session

* Remove global variable UAParser

* Remove global variable Promise

* Remove global variable Reload

* Remove global variable CryptoJS

* Remove global variable Template

* Remove global variable TAPi18n

* Remove global variable TAPi18next

* Fix ESLint

* Convert chatpal search package to modular structure (#12485)

* First wave of removal of Meteor global

* Second wave of removal of Meteor global

* Third wave of removal of Meteor global

* Fix tests

* Remove global variable SHA256

* Remove global variable WebApp

* Remove global variable EJSON

* Remove global variable Email

* Remove global variable HTTP

* Remove global variable Random

* Remove global variable ReactiveDict

* Remove global variable ReactiveVar

* Remove global variable Accounts

* Remove globals variables Match and check

* Remove global variable Mongo

* Remove global variable moment

* Remove global variable Tracker

* Remove global variable Blaze

* Remove global variables FlowRouter and BlazeLayout

* Add FlowRouter to eslint global in tests file

* Remove global variable DDPRateLimiter

* Remove global variable Session

* Remove global variable UAParser

* Remove global variable Promise

* Remove global variable Reload

* Remove global variable CryptoJS

* Remove global variable Template

* Remove global variable TAPi18n

* Remove global variable TAPi18next

* Exposing t function from rocketchat:ui package

* Convert chatpal search to main module structure

* Fix ESLint

* Convert meteor-accounts-saml to main module structure (#12486)

* First wave of removal of Meteor global

* Second wave of removal of Meteor global

* Third wave of removal of Meteor global

* Fix tests

* Remove global variable SHA256

* Remove global variable WebApp

* Remove global variable EJSON

* Remove global variable Email

* Remove global variable HTTP

* Remove global variable Random

* Remove global variable ReactiveDict

* Remove global variable ReactiveVar

* Remove global variable Accounts

* Remove globals variables Match and check

* Remove global variable Mongo

* Remove global variable moment

* Remove global variable Tracker

* Remove global variable Blaze

* Remove global variables FlowRouter and BlazeLayout

* Add FlowRouter to eslint global in tests file

* Remove global variable DDPRateLimiter

* Remove global variable Session

* Remove global variable UAParser

* Remove global variable Promise

* Remove global variable Reload

* Remove global variable CryptoJS

* Remove global variable Template

* Remove global variable TAPi18n

* Remove global variable TAPi18next

* Exposing t function from rocketchat:ui package

* Convert chatpal search to main module structure

* Fix ESLint

* Convert meteor-accounts-saml to main module structure

* ReAdd removed package dependecies

* Change export statement

* Fix lint issue in saml package

* Convert meteor-autocomplete package to main module structure (#12491)

* First wave of removal of Meteor global

* Second wave of removal of Meteor global

* Third wave of removal of Meteor global

* Fix tests

* Remove global variable SHA256

* Remove global variable WebApp

* Remove global variable EJSON

* Remove global variable Email

* Remove global variable HTTP

* Remove global variable Random

* Remove global variable ReactiveDict

* Remove global variable ReactiveVar

* Remove global variable Accounts

* Remove globals variables Match and check

* Remove global variable Mongo

* Remove global variable moment

* Remove global variable Tracker

* Remove global variable Blaze

* Remove global variables FlowRouter and BlazeLayout

* Add FlowRouter to eslint global in tests file

* Remove global variable DDPRateLimiter

* Remove global variable Session

* Remove global variable UAParser

* Remove global variable Promise

* Remove global variable Reload

* Remove global variable CryptoJS

* Remove global variable Template

* Remove global variable TAPi18n

* Remove global variable TAPi18next

* Exposing t function from rocketchat:ui package

* Convert chatpal search to main module structure

* Fix ESLint

* Convert meteor-accounts-saml to main module structure

* Convert meteor-autocomplete to main module structure

* Convert meteor-timesync to main module structure (#12495)

* First wave of removal of Meteor global

* Second wave of removal of Meteor global

* Third wave of removal of Meteor global

* Fix tests

* Remove global variable SHA256

* Remove global variable WebApp

* Remove global variable EJSON

* Remove global variable Email

* Remove global variable HTTP

* Remove global variable Random

* Remove global variable ReactiveDict

* Remove global variable ReactiveVar

* Remove global variable Accounts

* Remove globals variables Match and check

* Remove global variable Mongo

* Remove global variable moment

* Remove global variable Tracker

* Remove global variable Blaze

* Remove global variables FlowRouter and BlazeLayout

* Add FlowRouter to eslint global in tests file

* Remove global variable DDPRateLimiter

* Remove global variable Session

* Remove global variable UAParser

* Remove global variable Promise

* Remove global variable Reload

* Remove global variable CryptoJS

* Remove global variable Template

* Remove global variable TAPi18n

* Remove global variable TAPi18next

* Exposing t function from rocketchat:ui package

* Convert chatpal search to main module structure

* Fix ESLint

* Convert meteor-accounts-saml to main module structure

* Convert meteor-autocomplete to main module structure

* Convert meteor-timesync package to modular structure

* Convert rocketchat-2fa to main module structure (#12501)

* First wave of removal of Meteor global

* Second wave of removal of Meteor global

* Third wave of removal of Meteor global

* Fix tests

* Remove global variable SHA256

* Remove global variable WebApp

* Remove global variable EJSON

* Remove global variable Email

* Remove global variable HTTP

* Remove global variable Random

* Remove global variable ReactiveDict

* Remove global variable ReactiveVar

* Remove global variable Accounts

* Remove globals variables Match and check

* Remove global variable Mongo

* Remove global variable moment

* Remove global variable Tracker

* Remove global variable Blaze

* Remove global variables FlowRouter and BlazeLayout

* Add FlowRouter to eslint global in tests file

* Remove global variable DDPRateLimiter

* Remove global variable Session

* Remove global variable UAParser

* Remove global variable Promise

* Remove global variable Reload

* Remove global variable CryptoJS

* Remove global variable Template

* Remove global variable TAPi18n

* Remove global variable TAPi18next

* Exposing t function from rocketchat:ui package

* Convert chatpal search to main module structure

* Fix ESLint

* Convert meteor-accounts-saml to main module structure

* Convert meteor-autocomplete to main module structure

* Convert meteor-timesync package to modular structure

* exposing modal global variable

* Convert rocketchat-2fa to main module structure

* Convert rocketchat-action-links to main module structure (#12503)

* First wave of removal of Meteor global

* Second wave of removal of Meteor global

* Third wave of removal of Meteor global

* Fix tests

* Remove global variable SHA256

* Remove global variable WebApp

* Remove global variable EJSON

* Remove global variable Email

* Remove global variable HTTP

* Remove global variable Random

* Remove global variable ReactiveDict

* Remove global variable ReactiveVar

* Remove global variable Accounts

* Remove globals variables Match and check

* Remove global variable Mongo

* Remove global variable moment

* Remove global variable Tracker

* Remove global variable Blaze

* Remove global variables FlowRouter and BlazeLayout

* Add FlowRouter to eslint global in tests file

* Remove global variable DDPRateLimiter

* Remove global variable Session

* Remove global variable UAParser

* Remove global variable Promise

* Remove global variable Reload

* Remove global variable CryptoJS

* Remove global variable Template

* Remove global variable TAPi18n

* Remove global variable TAPi18next

* Exposing t function from rocketchat:ui package

* Convert chatpal search to main module structure

* Fix ESLint

* Convert meteor-accounts-saml to main module structure

* Convert meteor-autocomplete to main module structure

* Convert meteor-timesync package to modular structure

* exposing modal global variable

* Convert rocketchat-2fa to main module structure

* Change exposing of fireGlobalEvent function from window to package

* Moved handleError function from client to rocketchat:lib package

* Convert rocketchat:action-linsk package to main module structure

* disable eslint no-undef in fireGlobalEvent

* Convert rocketchat-analytics to main module structure (#12506)

* First wave of removal of Meteor global

* Second wave of removal of Meteor global

* Third wave of removal of Meteor global

* Fix tests

* Remove global variable SHA256

* Remove global variable WebApp

* Remove global variable EJSON

* Remove global variable Email

* Remove global variable HTTP

* Remove global variable Random

* Remove global variable ReactiveDict

* Remove global variable ReactiveVar

* Remove global variable Accounts

* Remove globals variables Match and check

* Remove global variable Mongo

* Remove global variable moment

* Remove global variable Tracker

* Remove global variable Blaze

* Remove global variables FlowRouter and BlazeLayout

* Add FlowRouter to eslint global in tests file

* Remove global variable DDPRateLimiter

* Remove global variable Session

* Remove global variable UAParser

* Remove global variable Promise

* Remove global variable Reload

* Remove global variable CryptoJS

* Remove global variable Template

* Remove global variable TAPi18n

* Remove global variable TAPi18next

* Exposing t function from rocketchat:ui package

* Convert chatpal search to main module structure

* Fix ESLint

* Convert meteor-accounts-saml to main module structure

* Convert meteor-autocomplete to main module structure

* Convert meteor-timesync package to modular structure

* exposing modal global variable

* Convert rocketchat-2fa to main module structure

* Change exposing of fireGlobalEvent function from window to package

* Moved handleError function from client to rocketchat:lib package

* Convert rocketchat:action-linsk package to main module structure

* make ChatRoom exportable by package

* Convert rocketchat-analytics to main module structure

* disable eslint no-undef in fireGlobalEvent

* Convert rocketchat-api to main module structure (#12510)

* First wave of removal of Meteor global

* Second wave of removal of Meteor global

* Third wave of removal of Meteor global

* Fix tests

* Remove global variable SHA256

* Remove global variable WebApp

* Remove global variable EJSON

* Remove global variable Email

* Remove global variable HTTP

* Remove global variable Random

* Remove global variable ReactiveDict

* Remove global variable ReactiveVar

* Remove global variable Accounts

* Remove globals variables Match and check

* Remove global variable Mongo

* Remove global variable moment

* Remove global variable Tracker

* Remove global variable Blaze

* Remove global variables FlowRouter and BlazeLayout

* Add FlowRouter to eslint global in tests file

* Remove global variable DDPRateLimiter

* Remove global variable Session

* Remove global variable UAParser

* Remove global variable Promise

* Remove global variable Reload

* Remove global variable CryptoJS

* Remove global variable Template

* Remove global variable TAPi18n

* Remove global variable TAPi18next

* Exposing t function from rocketchat:ui package

* Convert chatpal search to main module structure

* Fix ESLint

* Convert meteor-accounts-saml to main module structure

* Convert meteor-autocomplete to main module structure

* Convert meteor-timesync package to modular structure

* exposing modal global variable

* Convert rocketchat-2fa to main module structure

* Change exposing of fireGlobalEvent function from window to package

* Moved handleError function from client to rocketchat:lib package

* Convert rocketchat:action-linsk package to main module structure

* make ChatRoom exportable by package

* Convert rocketchat-analytics to main module structure

* disable eslint no-undef in fireGlobalEvent

* Export processwebhookMessage from integrations package

* Convert rocketchat-api to main module structure

* Convert rocketchat-assets to main module structure (#12521)

* Emoji search on messageBox is behaving like the emojiPicker's search (#12452)

* [FIX] Fix wrong parameter in chat.delete endpoint and add some test cases (#12408)

* fix wrong parameter in chat.delete endpoint and add some test cases

* fix lint problem

* Make Livechat's widget draggable (#12378)

* Handle all events for enter key in message box (#12507)

* [IMPROVE] Ignore non-existent Livechat custom fields on Livechat API (#12522)

* Improvement on Livechat Visitor endpoint, skipping invalid custom fields.

* Improvement on Livechat Visitor endpoint, skipping invalid custom fields.

* Fix import error.

* Fix punctuation, spelling, and grammar (#12451)

* Remove template for feature requests as issues (#12426)

Features requests should now be opened in https://forums.rocket.chat.

* [FIX] German translation for for API_EmbedIgnoredHosts label (#12518)

* Fix CSS import order (#12524)

* [FIX] Spotlight method being called multiple times (#12536)

* [FIX] Wrong test case for `users.setAvatar` endpoint (#12539)

* [NEW] Setting to configure robots.txt content (#12547)

* Convert rocketchat-authorization to main module structure (#12523)

* Exposing RoomRoles variable from rocketchat ui

* Convert rocketchat-authorization to main module structure

* Eslint disable line RoomRoles

* Convert rocketchat-autolinker to main module structure (#12529)

* Convert rocketchat-bot-helpers to main module structure (#12531)

* Convert rocketchat-cas to main module structure (#12532)

* Convert rocketchat-colors to main module structure (#12538)

* Convert rocketchat-channel-settings-mail-messages to main module structure (#12537)

* Convert rocketchat-autotranslate to main module structure (#12530)

* Exposing ChatSubscription from rocketchat-ui

* Convert rocketchat-autotranslate to main module structure

* [IMPROVE] Add CTRL modifier for keyboard shortcut (#12525)

* Add CTRL modifier for keyboard shortcut

As pointed out in #12519 Chrome already uses `Shift+ESC`, colliding
with the 'mark all messages as read' keyboard shortcut in
RocketChat. This change adds the `CTRL` modifier to the shortcut,
i.e. mapping

     Shift+ESC | CTRL+ESC

* Add documentation for keyboard shortcut

This change adds (english) documentation for the keyboard shortcut.

* [IMPROVE] Japanese translations (#12382)

* Prevent subscriptions and calls to rooms events that the user is not participating (#12558)

* Import missed file in rocketchat-authorization

* [FIX] Change registration message when user need to confirm email (#9336)

* Change registration message when user need to confirm email

* Revert "Change registration message when user need to confirm email"

This reverts commit 1e79975.

* Deprecate toast message for email activation

* Fix Rocket.Chat logo responsiveness in login form

* Fix stylelint error

* [FIX] Admin styles (#12602)

* [FIX] Admin styles (#12614)

* Test using mongo 4.0 (#12618)

[IMPROVE] CircleCI to use MongoDB 4.0 for testing

* Convert rocketchat-cors to main module structure (#12595)

*  Convert rocketchat-channel-settings to main module structure (#12594)

* Exposing RoomManager variable

* Convert rocketchat-channel-settings to main module structure

* Remove commented code

* Convert rocketchat-dolphin to main module structure (#12600)

* [DOCS] Remove Cordova links, include F-Droid download button and few other adjustments (#12583)

* Remove Cordova links and include F-Droid download button

* Update Rocket.Chat logo & center the headline of the file

* Removed few issues from "In Progress" list

* Update README.md

* Improve atlassian crowd (#12616)

[IMPROVE] Atlassian Crowd settings and option to sync user data

* Fix users.setAvatar endpoint tests and logic (#12625)

* Fix users.setavatar tests and logic

* Update CircleCI images to node 8.11

* Try fix

* Try fix 2

* Convert rocketchat-emoji to main module structure (#12603)

* Exposing ChatMessages global variable from rocketchat-ui

* Convert rocketchat-emoji to main module structure

* Convert rocketchat-crowd to main module structure (#12596)

* Convert rocketchat-drupal to main module structure (#12601)

* Convert rocketchat-error-handler to main module structure (#12606)

* Fix condition to not render PDF preview (#12632)

*  Convert rocketchat-emoji-custom to main module structure (#12604)

* Exposing RoomManager and SIdenav from rocketchat-ui

* Convert rocketchat-emoji-custom to main module structure

* Fix RocketChatFileEmojiCustomInstance export variable

* Convert rocketchat-favico to main module structure (#12607)

* Convert rocketchat-favico to main module structure

* Update package.js

* Convert emoji-emojione to main module structure (#12605)

* Fix crowd error with import of SyncedCron (#12641)

* Convert rocketchat-custom-sounds to main module structure (#12599)

* Exposing SideNav variable from rocketchat-ui

* Convert rocketchat-custom-sounds to main module structure

* Fix RocketChatFileCustomSoundsInstance export

* Revert wrong settings in custom-sounds

* Add new acceptable header on `Access-Control-Allow-Headers` to allow livechat rest api requests when CORS is enabled. (#12561)

* Add email dependency in package.js. (#12645)

* Convert rocketchat-github-enterprise to main module structure (#12642)

* Convert rocketchat-github-enterprise to main module structure

* Removing forgot console.log

* Convert rocketchat-file to main module structure (#12644)

* Convert rocketchat-file to main module structure

* Import RocketChatFile in packages that use it

* Convert rocketchat-gitlab to main module structure (#12646)

* Added imports for global variables in rocketchat-google-natural-language package (#12647)

* Added imports for global variables in rocketchat-google-natural-language package

* fix lint

* [NEW] New API Endpoints for the new version of JS SDK (#12623)

* Added rooms.info endpoint

* Added rooms.leave endpoint and tests

* Add support to fields in room.info endpoint

* fix broken tests, removed "lm" property from expected keys

* Removed RocketChatFile from globals (#12650)

* Convert rocketchat-google-vision to main module structure (#12649)

* [FIX] Fix favico error (#12643)

* Fix favico error

* Fix favico export, remove iife

* [IMPROVE] Update the 'keyboard shortcuts' documentation (#12564)

This change adds a description of `[Shift|Ctrl] ESC` to the keyboard
shortcuts sidebar. It also adds some more information on the
description of the function.

* Convert rocketchat-graphql to main module structure (#12658)

* Convert rocketchat-grant to main module structure (#12657)

* Exposing t function to the server side too

* Convert rocketchat-grant to main module structure

* Convert rocketchat-highlight-words to main module structure (#12659)

* Convert rocketchat-importer-hipchat to main module structure (#12664)

* Convert rocketchat-importer-csv to main module structure (#12663)

* Convert rocketchat-importer to main module structure (#12662)

* Convert rocketchat-iframe-login to main module structure (#12661)

* Convert rocketchat-iframe-login to main module structure

* Revert some global variables removed

*  Convert rocketchat-importer-slack to main module structure (#12666)

* Exposing getAvatarUrlFromUsername function

* Convert rocketchat-importer-slack to main module structure

* Convert rocketchat-importer-slack-users to main module structure (#12669)

* Convert rocketchat-importer-hipchat-enterprise to main module structure (#12665)

* Convert rocketchat-internal-hubot to main module structure (#12671)

* Convert rocketchat-irc to main module structure (#12672)

* Convert rocketchat-integrations to main module structure (#12670)

* Convert rocketchat-integrations to main module structure

* import processWebhookMessage where it was missing

* Conver rocketchat-issuelinks to main module structure (#12674)

* Convert rocketchat-ldap to main module structure (#12678)

* [NEW] /api/v1/spotlight: return joinCodeRequired field for rooms (#12651)

* Spotlight: return joinCodeRequired for rooms

* add missing trailing comma

* Added "npm install" to quick start for developers (#12374)

* Added "npm install" to quick start for developers

* Changed npm install to meteor npm install

* [FIX] high cpu usage ~ svg icon (#12677)

Closes RocketChat/Rocket.Chat.Electron#740

Colleagues of mine found the issue why the CPU usage of rocket.chat is so high.
It's because of `animateTransform` inside `./packages/rocketchat-ui-master/public/icons.svg`.
I've removed it and replaced by a CSS animation.

* [IMPROVE] border-radius to use --border-radius (#12675)

* fix multiple border-radius to use --border-radius

* fix multiple border-radius to use --border-radius

* fix multiple border-radius to use --border-radius

*  Convert rocketchat-livestream to main module structure (#12679)

* Exposing popout global variable

* Convert rocketchat-livestream to main module structure

* disable eslint in popout file

* Adding file that was forgotten

* Convert rocketchat-mail-messages to main module structure (#12682)

* Convert rocketchat-mail-messages to main module structure

* Add missed semicolon

* [IMPROVE] Add rooms property in user object, if the user has the permission, with rooms roles (#12105)

* Add rooms property in user object, if he has the permission, with your rooms roles

* Add option to return user's rooms only when requested

* Fixed Anonymous Registration (#12633)

Fix for #8982

* [NEW] Option to reset e2e key (#12483)

* Added option to reset e2e key

* Reset e2e key

* [IMPROVE] Improve unreads and unreadsFrom response, prevent it to be equal null (#12563)

* Improve unreads and unreadsFrom response, prevent it to be equal null

* Add timestamp or last seen  in groups.counter

Co-Authored-By: MarcosSpessatto <marcos.defendi@ulbra.inf.br>

* [NEW] Add permission to enable personal access token to specific roles (#12309)

* Add permission to enable personal access token to specific roles

* Update v136.js

* Update v136.js

* LingoHub Update 🚀 (#12684)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* Bump version to 0.72.0-rc.0

* no message

* Changed subscription query to only load subscriptions that don't have E2E keys (#12692)

* stylelint --fix "packages/**/*.css"

* stylelint --fix "packages/**/*.css"

* [IMPROVE] Rocket.Chat.Apps (#12680)

* Allow apps to create direct messages

* Implement getMembers;

* Adds ability to search direct rooms by usernames

* Updating admin style

* [FIX] Try to fix tests increasing window size (#12707)

* Try to fix tests increasing window size

* skip set avatar test case

* fixed DE translation for idle-time-limit - the value needs to be in seconds (instead of ms) (#12637)

* Set username before try to set user avatar to avoid username undefined (#12699)

Fix: Exception when registering a user with gravatar

* Bump Apps Engine to 1.3.0 (#12705)

* Add missing translation keys. (#12708)

* Improve apps (#12714)

* Allow apps to create direct messages

* Implement getMembers;

* Adds ability to search direct rooms by usernames

* Allow apps to update persistence by association (#12681)

* Update caret position on insert a new line in message box (#12713)

* Fix some Ukrainian translations (#12712)

* Bump version to 0.72.0-rc.1

* Inherit font-family for message box (#12729)

* Regression: Account pages layout (#12735)

* Remove duplicated .eslintignore entry

* Add missing i18n string

* Make Account Preferences layout match Administration layout

* Make Account Security layout match Administration layout

* Make Account Integrations layout match Administration layout

* Make Account Personal Access Tokens layout match Administration layout

* Adjust margins for buttons

* Fix Safari detection in PDF previewing (#12737)

* Regression: Expand Administration sections by toggling section title (#12736)

* Expand Administration sections by toggling section title

* Update E2E tests

* Update E2E tests

* Update Apps Engine to 1.3.1 (#12741)

* Bump version to 0.72.0-rc.2
ThomasRoehl pushed a commit to assistify/Rocket.Chat that referenced this pull request Mar 8, 2019
* Added imports for global variables in rocketchat-google-natural-language package (RocketChat#12647)

* Added imports for global variables in rocketchat-google-natural-language package

* fix lint

* [NEW] New API Endpoints for the new version of JS SDK (RocketChat#12623)

* Added rooms.info endpoint

* Added rooms.leave endpoint and tests

* Add support to fields in room.info endpoint

* fix broken tests, removed "lm" property from expected keys

* Removed RocketChatFile from globals (RocketChat#12650)

* Convert rocketchat-google-vision to main module structure (RocketChat#12649)

* [FIX] Fix favico error (RocketChat#12643)

* Fix favico error

* Fix favico export, remove iife

* [IMPROVE] Update the 'keyboard shortcuts' documentation (RocketChat#12564)

This change adds a description of `[Shift|Ctrl] ESC` to the keyboard
shortcuts sidebar. It also adds some more information on the
description of the function.

* Convert rocketchat-graphql to main module structure (RocketChat#12658)

* Convert rocketchat-grant to main module structure (RocketChat#12657)

* Exposing t function to the server side too

* Convert rocketchat-grant to main module structure

* Convert rocketchat-highlight-words to main module structure (RocketChat#12659)

* Convert rocketchat-importer-hipchat to main module structure (RocketChat#12664)

* Convert rocketchat-importer-csv to main module structure (RocketChat#12663)

* Convert rocketchat-importer to main module structure (RocketChat#12662)

* Convert rocketchat-iframe-login to main module structure (RocketChat#12661)

* Convert rocketchat-iframe-login to main module structure

* Revert some global variables removed

*  Convert rocketchat-importer-slack to main module structure (RocketChat#12666)

* Exposing getAvatarUrlFromUsername function

* Convert rocketchat-importer-slack to main module structure

* Convert rocketchat-importer-slack-users to main module structure (RocketChat#12669)

* Convert rocketchat-importer-hipchat-enterprise to main module structure (RocketChat#12665)

* Convert rocketchat-internal-hubot to main module structure (RocketChat#12671)

* Convert rocketchat-irc to main module structure (RocketChat#12672)

* Convert rocketchat-integrations to main module structure (RocketChat#12670)

* Convert rocketchat-integrations to main module structure

* import processWebhookMessage where it was missing

* Conver rocketchat-issuelinks to main module structure (RocketChat#12674)

* Convert rocketchat-ldap to main module structure (RocketChat#12678)

* [NEW] /api/v1/spotlight: return joinCodeRequired field for rooms (RocketChat#12651)

* Spotlight: return joinCodeRequired for rooms

* add missing trailing comma

* Added "npm install" to quick start for developers (RocketChat#12374)

* Added "npm install" to quick start for developers

* Changed npm install to meteor npm install

* [FIX] high cpu usage ~ svg icon (RocketChat#12677)

Closes RocketChat/Rocket.Chat.Electron#740

Colleagues of mine found the issue why the CPU usage of rocket.chat is so high.
It's because of `animateTransform` inside `./packages/rocketchat-ui-master/public/icons.svg`.
I've removed it and replaced by a CSS animation.

* [IMPROVE] border-radius to use --border-radius (RocketChat#12675)

* fix multiple border-radius to use --border-radius

* fix multiple border-radius to use --border-radius

* fix multiple border-radius to use --border-radius

*  Convert rocketchat-livestream to main module structure (RocketChat#12679)

* Exposing popout global variable

* Convert rocketchat-livestream to main module structure

* disable eslint in popout file

* Adding file that was forgotten

* Convert rocketchat-mail-messages to main module structure (RocketChat#12682)

* Convert rocketchat-mail-messages to main module structure

* Add missed semicolon

* [IMPROVE] Add rooms property in user object, if the user has the permission, with rooms roles (RocketChat#12105)

* Add rooms property in user object, if he has the permission, with your rooms roles

* Add option to return user's rooms only when requested

* Fixed Anonymous Registration (RocketChat#12633)

Fix for RocketChat#8982

* [NEW] Option to reset e2e key (RocketChat#12483)

* Added option to reset e2e key

* Reset e2e key

* [IMPROVE] Improve unreads and unreadsFrom response, prevent it to be equal null (RocketChat#12563)

* Improve unreads and unreadsFrom response, prevent it to be equal null

* Add timestamp or last seen  in groups.counter

Co-Authored-By: MarcosSpessatto <marcos.defendi@ulbra.inf.br>

* [NEW] Add permission to enable personal access token to specific roles (RocketChat#12309)

* Add permission to enable personal access token to specific roles

* Update v136.js

* Update v136.js

* LingoHub Update 🚀 (RocketChat#12684)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* no message

* Changed subscription query to only load subscriptions that don't have E2E keys (RocketChat#12692)

* stylelint --fix "packages/**/*.css"

* stylelint --fix "packages/**/*.css"

* [IMPROVE] Rocket.Chat.Apps (RocketChat#12680)

* Allow apps to create direct messages

* Implement getMembers;

* Adds ability to search direct rooms by usernames

* Updating admin style

* [FIX] Try to fix tests increasing window size (RocketChat#12707)

* Try to fix tests increasing window size

* skip set avatar test case

* fixed DE translation for idle-time-limit - the value needs to be in seconds (instead of ms) (RocketChat#12637)

* Set username before try to set user avatar to avoid username undefined (RocketChat#12699)

Fix: Exception when registering a user with gravatar

* Bump Apps Engine to 1.3.0 (RocketChat#12705)

* Add missing translation keys. (RocketChat#12708)

* Improve apps (RocketChat#12714)

* Allow apps to create direct messages

* Implement getMembers;

* Adds ability to search direct rooms by usernames

* Allow apps to update persistence by association (RocketChat#12681)

* Update caret position on insert a new line in message box (RocketChat#12713)

* Fix some Ukrainian translations (RocketChat#12712)

* Inherit font-family for message box (RocketChat#12729)

* Regression: Account pages layout (RocketChat#12735)

* Remove duplicated .eslintignore entry

* Add missing i18n string

* Make Account Preferences layout match Administration layout

* Make Account Security layout match Administration layout

* Make Account Integrations layout match Administration layout

* Make Account Personal Access Tokens layout match Administration layout

* Adjust margins for buttons

* Fix Safari detection in PDF previewing (RocketChat#12737)

* Regression: Expand Administration sections by toggling section title (RocketChat#12736)

* Expand Administration sections by toggling section title

* Update E2E tests

* Update E2E tests

* Update Apps Engine to 1.3.1 (RocketChat#12741)

* Create LIMITATION_OF_RESPONSIBILITY.md

* Release 0.72.0 (RocketChat#12742)

* Bump version to 0.73.0-develop

* Add check to make sure releases actually was updated (RocketChat#12791)

* Convert tocketchat-mapview to main module structure (RocketChat#12701)

* Convert rocketchat-markdown to main module structure (RocketChat#12755)

* Convert rocketchat-markdown to main module structure

* fix wrong path in tests

* Convert rocketchat-mentions to main module structure (RocketChat#12756)

* Convert rocketchat-mentions to main module structure

* Fix wrong path in rocketchat-mentions tests

*  Convert rocketchat-mentions-flextab to main module structure (RocketChat#12757)

* Exposing RoomHistoryManager

* Convert rocketchat-mentions-flextab to main module structure

* Convert rocketchat-message-action to main module structure (RocketChat#12759)

* Convert rocketchat-message-attachments to main module structure (RocketChat#12760)

* Remove conventional changelog cli, we are using our own cli now (Houston) (RocketChat#12798)

* Convert rocketchat-message-mark-as-unread to main module structure (RocketChat#12766)

* Convert rocketchat-migrations to main-module structure (RocketChat#12772)

* Convert rocketchat-oembed to main module structure (RocketChat#12775)

* Convert rocketchat-otr to main module structure (RocketChat#12777)

* Convert rocketchat-push-notifications to main module structure (RocketChat#12778)

* Exposing popover

* Convert rocketchat-push-notifications to main module structure

* Convert rocketchat-retention-policy to main module structure (RocketChat#12797)

* Fix CI deploy job (RocketChat#12803)

* [IMPROVE] Username suggestion logic (RocketChat#12779)

* [FIX] Emoji as avatar (RocketChat#12805)

* Move emojiButton code from rocketchat:emoji to rocketchat:ui-message

* Export renderMessageBody via main module

* Convert rocketchat-message-snippet to main module structure (RocketChat#12768)

* Convert rocketchat-oauth2-server-config to main module structure (RocketChat#12773)

* Convert rocketchat-sandstorm to main module structure (RocketChat#12799)

* Convert rocketchat-setup-wizard to main module structure (RocketChat#12806)

* Convert rocketchat-slackbridge to main module structure (RocketChat#12807)

* Convert rocketchat-slashcommands-asciiarts to main module structure (RocketChat#12808)

* Convert rocketchat-slashcomands-archiveroom to main module structure (RocketChat#12810)

* Convert rocketchat-slashcommands-create to main module structure (RocketChat#12811)

* Convert rocketchat-slashcommands-help to main module structure (RocketChat#12812)

* Convert rocketchat-slashcommands-hide to main module structure (RocketChat#12813)

* Convert rocketchat-slashcommands to main module structure (RocketChat#12814)

* Convert rocketchat-slashcommands-inviteall to main module structure (RocketChat#12815)

* Convert rocketchat-slashcommands-join to main module structure (RocketChat#12816)

* Convert rocketchat-slashcommands-kick to main module structure (RocketChat#12817)

* Convert rocketchat-slashcommands-leave to main module structure (RocketChat#12821)

* Convert rocketchat-slashcommands-me to main module structure (RocketChat#12822)

* Convert rocketchat-slashcommands-mute to main module structure (RocketChat#12824)

* Convert rocketchat-slashcommands-mute to main module structure

* fix lint

* Convert rocketchat-slashcommands-open to main module structure (RocketChat#12825)

* Convert rocketchat-slashcommands-topic to main module structure (RocketChat#12826)

* Dependencies update (RocketChat#12624)

* Updating admin style

* Updating admin style

* update mongodb test to use 4.0

* using trusty

* Running wiredTiger without journaling in a replica set is not supported. Make sure you are not using --nojournal and that storage.journal.enabled is not set to 'false'.

* E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
Exited with code 100

* update dependencies

* eslint fix

* eslint fix

* update dependencies

* Fix saml broken by packages update

* Convert rocketchat-slashcommands-unarchiveroom to main module structure (RocketChat#12827)

* Convert rocketchat-slider to main module structure (RocketChat#12828)

* Convert rocketchat-smarsh-connector to main module structure (RocketChat#12830)

* Convert rocketchat-slashcommands-msg to main module structure (RocketChat#12823)

* Convert rocketchat-slashcommands-msg to main module structure

* Update package.js

* Convert rocketchat-message-star to main module structure (RocketChat#12770)

* Convert rocketchat-message-star to main module structure

* Fixed export StarredMessage

* Convert rocketchat-message-pin to main module structure (RocketChat#12767)

* Exposing RoomHistoryManager

* Exposing ChatMessage

* Convert rocketchat-message-pin to main module structure

* Convert rocketchat-search to main module structure (RocketChat#12801)

* Convert rocketchat-sms to main module structure (RocketChat#12831)

* Convert rocketchat-spotify to main module structure (RocketChat#12832)

* Convert rocketchat-statistics to main module structure (RocketChat#12833)

* [IMPROVE] Use MongoBD aggregation to get users from a room (RocketChat#12566)

* Convert rocketchat-token-login to main module structure (RocketChat#12837)

* Convert rocketchat-tooltip to main module structure (RocketChat#12839)

* Remove rocketchat-tutum package (RocketChat#12840)

* Convert rocketchat-tokenpass to main module structure (RocketChat#12838)

* Fix Google Cloud Storage (RocketChat#12843)

* Convert rocketchat-ui-admin to main module structure (RocketChat#12844)

* Convert rocketchat-ui-clean-history to main module structure (RocketChat#12846)

* Missing HipChat Enterprise Importer (RocketChat#12847)

* Change file order in rocketchat-cors (RocketChat#12804)

* fixes RocketChat#12726 (RocketChat#12727)

[FIX] API users.info returns caller rooms and not requested user ones

*  Convert rocketchat-ui-account to main module structure (RocketChat#12842)

* Exposing KonchatNotification

* Convert rocketchat-ui-account to main module structure

* fix lint

* [FIX] Change spread operator to Array.from for Edge browser (RocketChat#12818)

* Change spread operator to Array.from for Edge browser- closes RocketChat#12809

* fat finger fix

* Edge fix for spread operator additional files

* revert package-lock

* Bump Apps-Engine version (RocketChat#12848)

* [FIX] Emoji as avatar (RocketChat#12805)

* Move emojiButton code from rocketchat:emoji to rocketchat:ui-message

* Export renderMessageBody via main module

* Missing HipChat Enterprise Importer (RocketChat#12847)

* Change file order in rocketchat-cors (RocketChat#12804)

* fixes RocketChat#12726 (RocketChat#12727)

[FIX] API users.info returns caller rooms and not requested user ones

* [FIX] Change spread operator to Array.from for Edge browser (RocketChat#12818)

* Change spread operator to Array.from for Edge browser- closes RocketChat#12809

* fat finger fix

* Edge fix for spread operator additional files

* revert package-lock

* Bump Apps-Engine version (RocketChat#12848)

# Conflicts:
#	package-lock.json
#	package.json

* Fix render of message attachments

* Bump version to 0.72.1

* German translation fix Reacted_with (RocketChat#12761)

* [FIX] Autotranslate icon on message action menu (RocketChat#12585)

* [FIX] Incorrect parameter name in Livechat stream (RocketChat#12851)

* [NEW] Include message type & id in push notification payload (RocketChat#12771)

* [FIX] Data Import not working (RocketChat#12866)

*  Convert rocketchat-ui-flextab to main module structure (RocketChat#12859)

* Exposing isRtl and UserRoles

* Convert rocketchat-ui-flextab to main module structure

* Convert rocketchat-ui-login to main module structure (RocketChat#12861)

* Convert rocketchat-ui-vrecord to main module structure (RocketChat#12875)

* Convert rocketchat-user-data-dowload to main module structure (RocketChat#12877)

* [NEW] Livechat registration form message (RocketChat#12597)

* [NEW] Config hooks for snap (RocketChat#12351)

* adding hooks and config for Caddyfile

* fixing comments, deleting snapcraft.yaml from rootdir

* fixes for initcaddy

* remove snapcraft.yaml from root dir

* Check dns resolution with https enable, fix regex, add env to change siteUrl at start

* Adding file in  to read env vars, change key names, try to add support for path in url in caddy

* removing option for url with path

* Changed regex in configure hook, switch to caddy-url and caddy enable, fix hooks

* Convert rocketchat-version-check to main module structure (RocketChat#12879)

* Syncloud deploy option (RocketChat#12867)

* [IMPROVE] Returning an open room object in the Livechat config endpoint (RocketChat#12865)

* Fix snap build (RocketChat#12883)

* Convert rocketchat-wordpress to main module structure (RocketChat#12887)

*  Convert rocketchat-reactions to main module structure (RocketChat#12888)

* Convert rocketchat-reactions to main module structure

* Convert rocketchat-reactions to main module structure

* [FIX] Reset password email (RocketChat#12898)

* Fix PDF view loading indicator (RocketChat#12882)

* Fix line-height for unread bar buttons (jump to first and mark as read) (RocketChat#12900)

* Fix PDF view loading indicator (RocketChat#12882)

* [FIX] Reset password email (RocketChat#12898)

* Fix line-height for unread bar buttons (jump to first and mark as read) (RocketChat#12900)

* Bump version to 0.72.2

* [FIX] Version check update notification (RocketChat#12905)

* [IMPROVE] Do not emit settings if there are no changes (RocketChat#12904)

* [FIX] cannot reset password (RocketChat#12903)

* Update debug.js

* Temporary hotfix solution for the resetpassword issue

* fix temporary my_message extra data (RocketChat#12914)

* [FIX] CAS Login not working with renamed users (RocketChat#12860)

* Fixed invalid emails being marked as verified

* Changed CAS login to support renamed users

* Fixed issue that prevented download from user data when a room no longer existed (RocketChat#12829)

* [FIX] Lost icons (RocketChat#12913)

[FIX] Some icons were missing

* Crowd sync fix (RocketChat#12930)

[FIX] Crowd sync was being stopped when a user was not found

* Fix padding for message box in embedded layout (RocketChat#12556)

* Convert rocketchat-videobridge to main module structure (RocketChat#12881)

* Convert rocketchat-videobridge to main module structure

* Remove duplicated import

* Convert rocketchat-ui-message to main module structure (RocketChat#12871)

* Convert rocketchat-ui-message to main module structure

* Fix lint

* Change chatMessages to import style

* Convert rocketchat-webdav to main module structure (RocketChat#12886)

* Convert rocketchat-webdav to main module structure

* Fix Handlebars import

* Convert rocketchat-katex to main module structure (RocketChat#12895)

* Convert rocketchat-katex to main module structure

* fix lint

* Convert rocketchat-theme to main module structure (RocketChat#12896)

* Revert imports of css, reAdd them to the addFiles function (RocketChat#12934)

* Release 0.72.3 (RocketChat#12932)

* [FIX] Version check update notification (RocketChat#12905)

* [FIX] cannot reset password (RocketChat#12903)

* Update debug.js

* Temporary hotfix solution for the resetpassword issue

* fix temporary my_message extra data (RocketChat#12914)

* [FIX] CAS Login not working with renamed users (RocketChat#12860)

* Fixed invalid emails being marked as verified

* Changed CAS login to support renamed users

* Fixed issue that prevented download from user data when a room no longer existed (RocketChat#12829)

* [FIX] Lost icons (RocketChat#12913)

[FIX] Some icons were missing

* Crowd sync fix (RocketChat#12930)

[FIX] Crowd sync was being stopped when a user was not found

* Fix padding for message box in embedded layout (RocketChat#12556)

* Bump version to 0.72.3

* changed maxRoomsOpen (RocketChat#12949)

Allow users/developers to change the max number of rooms opened using `localStorage` its temporary and if results in some benefit we gonna remove and develop changes based on that data

<!-- INSTRUCTION: Your Pull Request name should start with one of the following tags -->
<!-- [NEW] For new features -->
<!-- [FIX] For bug fixes -->
<!-- [BREAK] For pull requests including breaking changes -->

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->


<!-- INSTRUCTION: Link to a https://github.com/RocketChat/docs PR with added/updated documentation or an update to the missing/outdated documentation list, see https://rocket.chat/docs/contributing/documentation/  -->

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->

* [FIX] Spotlight being called while in background (RocketChat#12957)

Currently there are many situations where `spotlight` can be called even if it's closed.

This PR fixes it by adding the reactivity only to the template, so when it's destroyed, the reactivity is destroyed as well.

There are still other times that it's called unnecessarily, like if you click on a result from a toolbar search it will be called again after you click. But this fix prevent many calls like when you search from someone it will call `spotlight` on background for every message you receive.

* Convert rocketchat-livechat to main module structure (RocketChat#12942)

* Exposing some globals variables

* Convert rocketchat-livechat to main module structure

* Fix lint, and move some file to another folders to be able to fix lint

* Removed commented imports from package.js

* Remove from index.js files imported by another files

* Add eslint inside .app folder and fix lint errors

* Unified LivechatInquiry in one file

* Fix livechat requested changes

* Remove global toastr (RocketChat#12961)

* Remove global ServiceConfiguration (RocketChat#12960)

* Move globals of test to a specific eslintrc file (RocketChat#12959)

* [FIX] Check for object falsehood before referencing properties in saveRoomSettings (RocketChat#12972)

* [IMPROVE] Adding debugging instructions in README (RocketChat#12989)

* Fix readable validation on the apps engine environment bridge (RocketChat#12994)

* [FIX] multiple rooms-changed (RocketChat#12940)

* streamer was sending multiple times

the streamer was using a method to emit the data, which emit to the user for all connections, result: we are emitting for
each client n(connection number) times.

* Remove /* globals */ from files wave-1 (RocketChat#12984)

* Remove /* globals */ from files wave 1

* Fix lint

* Remove /* globals */ wave 2 (RocketChat#12988)

* Remove /* globals */ from files wave 1

* Fix lint

* Remove /* globals */ wave 2

* [FIX] Exception in getSingleMessage (RocketChat#12970)

* fixed the fuckfuck

ok

* do the doing

* [FIX] Revert Jitsi external API to an asset (RocketChat#12954)

* Remove Jitsi script load

* Revert external_api.js to an asset

* Use web.browser.legacy bundle for Livechat script (RocketChat#12975)

* Use sharp new API for resize image previews (RocketChat#12980)

* Change field checks in RocketChat.saveStreamingOptions (RocketChat#12973)

* Stop click event propagation on mention link or user card (RocketChat#12983)

* [FIX] Some deprecation issues for media recording (RocketChat#12948)

* Fix some deprecation issues for media recording

* Update condition for video message recording

* Update condition for audio message recording

* Convert rocketchat-logger to main module structure and remove Logger from eslintrc (RocketChat#12995)

* Remove Logger from eslintrc

* Add global variables to eslintrc

* Convert rocketchat-logger to main module structure

* Remove /* globals */ wave 3 (RocketChat#12997)

* Remove /* globals */ from files wave 1

* Fix lint

* Remove /* globals */ wave 2

* remove-globals-wave-3

* Remove /* globals */ wave 4 (RocketChat#12999)

* Remove /* globals */ from files wave 1

* Fix lint

* Remove /* globals */ wave 2

* remove-globals-wave-3

* Remove /* globals */ wave 4

* Remove some // eslint comments

* Inherit font family in message user card (RocketChat#13004)

* Move tapi18n t and isRtl functions from ui to utils (RocketChat#13005)

* Move t, isRtl from rocektchat-ui to rocketchat-utils

* Change imports t and isRtl from ui to utils

* Change JSON to EJSON.parse query to support type Date (RocketChat#12706)

* [IMPROVE] Allow transfer Livechats to online agents only (RocketChat#13008)

* Improvement in the filter of the list of agents online, which will allow the transfer of Livechat only to agents online.

* [IMPROVE] Accept Slash Commands via Action Buttons when `msg_in_chat_window: true` (RocketChat#13009)

* [FIX] Nested Markdown blocks not parsed properly (RocketChat#12998)

* Fix markdown tokens not restored properly

* Add tests

* Move isFirefox and isChrome functions to rocketchat-utils (RocketChat#13011)

* [NEW] Download button for each file in fileslist (RocketChat#12874)

* Add menu icon to fileslist items and implement download-action.

* Import global popover

* [Fix]E2E`s password reaveal text is always `>%S` when language is zh (RocketChat#12795)

[FIX] E2E`s password reaveal text is always `>%S` when language is zh

* [FIX] Provide better Dutch translations 🇳🇱 (RocketChat#12792)

* Provide better Dutch translations

Refs RocketChat#12716

* Update nl.i18n.json

* Update packages/rocketchat-livechat/.app/i18n/nl.i18n.json

Co-Authored-By: mathysie <mathijs@kolkhuistanke.nl>

* Capitalize last two only lowercase translations.

Refs RocketChat#12792 RocketChat#12716

* Provide two extra better translations

Refs RocketChat#12716 RocketChat#12792

* Add missing translation keys. (RocketChat#12722)

* if webdav not enabled, do not show webdav integration account settings (RocketChat#12569)

[FIX] Webdav integration account settings were being shown even when Webdav was disabled

* Added chat.getDeletedMessages since specific date (RocketChat#13010)

* [NEW]  Added a link to contributing.md (RocketChat#12856)

* Added a link to contributing.md

fixes - RocketChat#12845

* Modified link to relative

* Added link to Contributing docs

* Fix set avatar http call, to avoid SSL errors (RocketChat#12790)

* Add query parameter support to emoji-custom endpoint (RocketChat#12754)

* [FIX] Fix users.setPreferences endpoint, set language correctly (RocketChat#12734)

* Fix users.setPreferences endpoint, set language correctly

* Fix tests

* Fix lint

* [FIX] Pin and unpin message were not checking permissions (RocketChat#12739)

* Fix pin and unpin message without permissions

* Update 05-chat.js

* Fix lint

* [NEW] Mandatory 2fa for role (RocketChat#9748)

* Added setting to force user roles to use 2fa

* Added conditional check to force user to configure 2fa when needed

* Added Missing String; Improved Code Quality

* Update permissionsRole.js

* [NEW] Create new permission.listAll endpoint to be able to use updatedSince parameter (RocketChat#12748)

* Create new permission.listAll endpoint to be able to use updatedSince parameter

* fix lint

* Change deprecation version

* Issue RocketChat#11248: Avoiding links with highlighted words (RocketChat#12123)

* LingoHub Update 🚀 (RocketChat#13014)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [IMPROVE] Hipchat Enterprise Importer (RocketChat#12985)

* Added message showing the file size limit on the importers

* Importer improvements

* Added missing reference

* Removed globals

* Fixed data importers

* Fixed import

* Removed log

* Changed hipchat enterprise importer to prepare files from the file system

* Use a file URL on the importer

* Avoid duplicated emails

* Prevent duplicated emails from crashing the import process

* Identify errors on the import process

* Fixed attachment import

* Fixed problem with invalid users when creating channels

* Added labels for checkboxes

* Bump version to 0.73.0-rc.0

* Improved code quality (RocketChat#13020)

* Fix get deleted messages, change the method to get messages and return only _ids (RocketChat#13021)

Change `chat.getDeletedMessages` to get messages after informed date and return only message's _id

* Bump version to 0.73.0-rc.1

* Fallback content-type as application/octet-stream for uploaded files (RocketChat#13033)

* Add default to options parameter in listCustomEmoji (RocketChat#13031)

Regression: List of custom emojis wasn't working

* Bump version to 0.73.0-rc.2

* Bump version to 0.73.0

* Fix default importer path (RocketChat#13045)

* Regression: Get room's members list not working on MongoDB 3.2 (RocketChat#13051)

* Revert status filter for members list

* Get MongoDB version on statistics

* Execute tests with versions 3.2, 3.4, 3.6 and 4.0 of MongoDB (RocketChat#13049)

* Execute tests with versions 3.2, 3.4, 3.6 and 4.0 of MongoDB

* Reduce duplicated configuration

* Fix image inherintence

* Fix test of mongo 4 without oplog

* Bump version to 0.73.1

* [NEW] Cloud Integration (RocketChat#13013)

* Cloud package inside of rocket.chat, enforcing a few items now

* Implementing more of the requirements to get cloud up

* Fix the linter error.
Really should have the linter run on commit, not push.

* Switch callback to webview and rename some of the variables

* fix additional lint

* clean up

* remove console log

* use check for register server on statistics

* Implement calling the server-to-cloud and store the tokens

* Add the workspace token to various services Rocket.Chat, the company, provides

* Clean up the html spacing in the cloud.html

* Remove the check on stats for sending the organization email

* Cloud workspace and user connected

* Update to include refresh token now that cloud does

* Add a license api and try/catches

* Add support for the token in the url of the admin/cloud page

* Change redirectUrl var to redirectUri.  dont save scope, and remove workspace scope

* fix messy looking if

* try increasing wait time on test

* add missing import after merge with develop

* Check users email

* Don't save the org email from the wizard

* Fix the review issues, adding i18n

* Remove console.log

Co-Authored-By: geekgonecrazy <geekgonecrazy@users.noreply.github.com>

* Bump version to 0.73.2

* Adhere to latest linter-restrictions - remove globals

* update CircleCI-config as per RC core

* fix linting errors

* remove duplicate script

* fix permissions unit tests

* fix message popup test scripts

* update the rc versio

* fix inbox icon on sidebar (#580)

* bump to version to v0.73.0-0.9.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants